﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeFile="WGXX.aspx.cs" Inherits="GRZX_WSXY_WGXX" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
    <base target="_self" />
    <link href="../../Style/GRZX/Master.css" rel="stylesheet" type="text/css" />
    <link href="../../Style/Common/DatePage.css" rel="stylesheet" type="text/css" />
    <link href="../../Scripts/jquery-easyui-1.3.1/themes/default/easyui.css" rel="stylesheet"
        type="text/css" />
    <link href="../../Scripts/jquery-easyui-1.3.1/themes/icon.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="Contant">
        <a href='/'>
            <img alt="我的消息" style="margin-bottom: -3px" src="/images/GRZX/u1.gif" width="16px"
                height="16px" />首页</a>>><a href='/GRZX/'>个人中心</a>>>违规信息管理<br />
        <table cellpadding="0px" cellspacing="0px" class="BarTable">
            <tr>
                <th>
                    违规信息管理&nbsp;<cite>您本月违规:</cite>
                    <asp:Label ID="lblCount" runat="server" Text="0" CssClass="spantext colf1"></asp:Label><cite>次</cite>&nbsp;<cite>当您的违规信息一个月超过:</cite><span
                        class="spantext colf1">3</span><cite>次</cite><cite>的时候，该月账号将被冻结</cite>
                </th>
            </tr>
            <tr>
                <td class="td1">
                    <div id="SearchDIV" style='text-align: right;'>
                        <asp:TextBox ID="txtTimeFrom" CssClass="easyui-datebox" runat="server"></asp:TextBox>--<asp:TextBox
                            ID="txtTimeTo" runat="server" CssClass="easyui-datebox"></asp:TextBox>&nbsp;
                        <asp:Button ID="btnSearch" CssClass="skls" runat="server" Text="搜索" OnClick="btnSearch_Click" />
                    </div>
                </td>
            </tr>
        </table>
        <div class="tip" style="margin-top: 10px">
            <cite>提醒：</cite>当您的违规信息一个月超过:3次的时候，该月账号将被冻结
        </div>
        <div style="padding-top: 20px;">
            <asp:ListView ID="lstWDXX" runat="server" DataKeyNames="ID" OnPagePropertiesChanging="lstWDXX_PagePropertiesChanging">
                <LayoutTemplate>
                    <table cellpadding="0px" cellspacing="0px" class="rc1_tab1tit" style="width: 100%;">
                        <tr>
                            <th>
                                违规性质
                            </th>
                            <th>
                                违规类型
                            </th>
                            <th>
                                违规处理方式
                            </th>
                            <th>
                                违规说明
                            </th>
                            <th>
                                违规时间
                            </th>
                        </tr>
                        <asp:PlaceHolder ID="itemPlaceHolder" runat="server"></asp:PlaceHolder>
                    </table>
                </LayoutTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <%#Enum.GetName(typeof(WGXX.kindWG), Eval("Kind"))%>
                        </td>
                        <td>
                            <%#Enum.GetName(typeof(WGXX.typeWG), Eval("Type"))%>
                        </td>
                        <td>
                            <%#Eval("Result") ?? "暂无"%>/<%#Eval("Result") ?? "暂无"%>
                        </td>
                        <td>
                            <%#Eval("Remark")%>
                        </td>
                        <td>
                            <%#Eval("AddTime")%>
                        </td>
                    </tr>
                </ItemTemplate>
                <EmptyDataTemplate>
                    <cite id="UserNameNote" class="note"><span>&nbsp;</span>暂无数据</cite>
                </EmptyDataTemplate>
            </asp:ListView>
        </div>
        <div style="padding: 4px; text-align: center;">
            <asp:DataPager ID="Pager" runat="server" PagedControlID="lstWDXX" OnPreRender="Pager_PreRender"
                PageSize="20">
                <Fields>
                    <asp:NumericPagerField ButtonCount="10" CurrentPageLabelCssClass="CurrentPage" NumericButtonCssClass="Page" />
                    <asp:NextPreviousPagerField ShowLastPageButton="true" ShowPreviousPageButton="true"
                        ShowFirstPageButton="true" />
                    <asp:TemplatePagerField>
                        <PagerTemplate>
                            共<%=Pager.TotalRowCount%>条
                        </PagerTemplate>
                    </asp:TemplatePagerField>
                </Fields>
            </asp:DataPager>
        </div>
    </div>
    </form>
</body>
<script src="../../Scripts/Common/jquery-1.4.1.min.js" type="text/javascript"></script>
<script src="../../Scripts/jquery-easyui-1.3.1/jquery.easyui.min.js" type="text/javascript"></script>
</html>
